package com.qfjy.service.impl.example3;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ScanPayServiceImpl {

    /**
     * #TODO 微信服务器
     */
    @RabbitListener(queues = {"weixinScanPayQueue"})
    public void weixinScanPayServer( String balance){
        log.info("微信服务器进行支付--》"+balance);
    }


    /**
     * #TODO 支付宝 服务器
     */
    @RabbitListener(queues = {"zhifubaoScanPayQueue"})
    public void zhifubaoScanPayServer( String balance){
        log.info("支付宝服务器进行支付--》"+balance);
    }
}
